mir: Fix potential use of NULL GDBusConnection
authorPhilip Withnall <withnall@endlessm.com>
Fri, 17 Nov 2017 10:32:02 +0000 (10:32 +0000)
committerPhilip Withnall <withnall@endlessm.com>
Fri, 8 Dec 2017 09:55:27 +0000 (09:55 +0000)
commit276c4625538b287d6aec5664f38b3df24b11b101
tree5a199f281a08714dfaa34f4913679d870ea45ab2
parentfec0dc2b13c4a992d6b2ec6f0b3184a8557f339b
mir: Fix potential use of NULL GDBusConnection

If we fail to connect to the session bus, it would be a bit silly to
immediately try and use that NULL connection.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=668590
gdk/mir/gdkmirdisplay.c